
/* 
Provider 可以包装根组件，让任何组件都可以访问store中的数据
Provider相当于通道，连接redux和组件
*/
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import store from './store/redux'
import {Provider} from 'react-redux'
ReactDOM.render(
  <Provider store={store}>
    <App />
    </Provider>
    ,
  document.getElementById('root')
);
